<?php

/*
 * This is to update allergy details.
 */

include '../../include/config.php';
mysql_query("update me_user_allergies set `alg_name`='".$_POST['alg_name']."', `alg_detail`='".$_POST['alg_detail']."' where uid='".$_COOKIE['gid']."' and sr='".$_POST['sr']."' ") or die(mysql_error());
header('Location:../view/Allergies');
?>
